import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

export const routes: Routes = [
  {
    path: 'coupon',
    loadChildren: 'app/member/coupon/coupon.module#CouponModule'
  },
  {
    path: 'promote',
    loadChildren: 'app/member/promote/promote.module#PromoteModule'
  },
  {
    path: 'store-product',
    loadChildren: 'app/member/store-product/store-product.module#StoreProductModule'
  },
  {
    path: 'product',
    loadChildren: 'app/member/product/product.module#ProductModule'
  },
  {
    path: 'order',
    loadChildren: 'app/member/order/order.module#OrderModule'
  },
  {
    path: 'activity',
    loadChildren: 'app/member/activity/activity.module#ActivityModule'
  },
  // {
  //   path: 'template',
  //   loadChildren: 'app/member/template/template.module#TemplateModule'
  // },
  {
    path: 'template',
    loadChildren: 'app/member/template/template.module#TemplateModule'
  },
  {
    path: 'classification',
    loadChildren: 'app/member/classification/Classification.module#ClassificationModule'
  },
  {
    path: 'account',
    loadChildren: 'app/member/account/account.module#AccountModule'
  },
  {path: 'group',
    loadChildren: 'app/member/group/group.module#GroupModule'
  },
  {path: 'freight',
    loadChildren: 'app/member/freight/freight.module#FreightModule'
  },
  {
    path: 'applet-setting',
    loadChildren: 'app/member/applet-setting/applet-setting.module#AppletSettingModule'
  },
  {
    path: 'display',
    loadChildren: 'app/member/display/display.module#DisplayModule'
  },
  {
    path: 'shop',
    loadChildren: 'app/member/shop/shop.module#ShopModule'
  }
];

@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports: [
    RouterModule
  ],
  providers: []
})
export class MemberRoutingModule {
}
